/*
 * @Description: 环境配置封装
 * @Author: zhihong deng
 * @Date: 2021-08-18 14:17:16
 * @LastEditors: zhihong deng
 * @LastEditTime: 2021-09-12 00:56:28
 */
const env = import.meta.env.MODE || 'prod';
const EnvConfig = {
  // 开发环境
  dev:{
    baseApi:'/api',
    mockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  },
  // 测试环境
  test:{
    baseApi:'//test.futurefe.com/api',
    nockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  },
  // 生产环境
  prod:{
    baseApi:'//futurefe.com/api',
    mockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  }
}
export default {
  env,
  mock:false,
  namespace:'manager',
  ...EnvConfig[env]
}